
******************* MAKE SURE TO BACKUP YOUR FILES BEFORE ***********************

This package is for Phoenix Cart 1.0.8.0-1.0.8.3.

Please use it at your own risk.
------------------------------------------------------------------------------------------
  Version: 4.1
  updated for Phoenix Cart by @raiwa Rainer Schmied

   originally coded by Ben Zukrel 
   Improved and converted for osC Bootstrap by
   @Tsimi
   and
   @raiwa Rainer Schmied / info@oscaddons.com  / www.oscaddons.com

   Additional credits to @LeeFoster for bug reports and fixes
   German translation by @Tsimi
   German revision by @raiwa
   Spanish translation by @TITO4
   Spanish revision by @PiLLaO 

  Copyright (c) 2021 Rainer Schmied

  Released under commercial License

  Please read and follow the Commercial License rules.
-------------------------------------------------------------------------------------------------------------
   
-------------------------------------------------------------------------------------------------------------
####### UPDATE AN EXISTING INSTALLATION TO VERSION 4.1 ################

1. Back up the shop files and database.
2. Use the package matching your installed Phoenix Cart version.
   Upload ALL contents of new_files/catalog/ to the shop root, merging local
   customizations. Map admin/ to your actual admin folder. Include the helper,
   hooks, order-total and payment modules, admin files, and language files together.
   If you use a template other than override, merge templates/override/includes/
   into the corresponding directory in your selected template.
3. No schema migration or module reinstallation is required for this update.
   Do not uninstall the Points Redemptions module; preserve balances and history.
   Existing stored version metadata can be updated separately with:
   UPDATE configuration SET configuration_value = '4.1'
     WHERE configuration_key = 'MODULE_ORDER_TOTAL_POINTS_REWARDS_VERSION';
4. Ensure Points Redemptions is after Shipping and Tax and before Total.
5. Check zero-balance checkout, partial and full redemption, review rewards,
   and admin confirmation (including a repeated submission) on a test order.

The older instructions below are historical and are not additional 4.1 steps.

------------------------------------------------------------------------------------------

####### STEP BY STEP UPDATE version 3.3.2 to 3.3.3. ################

A. ADDING NEW FILES.
copy the new files provided into the same location in your catalog and admin directory.

-- Upload and replace the following files:
    catalog/includes/functions/redemptions.php
    admin/customers_points.php
    admin/customers_points_pending.php
    admin/customers_points_referral.php



====DONE====

-------------------------------------------------------------------------------------------------------------
####### STEP BY STEP UPDATE version 3.1.0 to 3.2.0. ################

A. Uninstall the alternative shopping cart navbar and/or box module
    1. Access your admin area and uninstall the "Shopping Cart with points" navbar module. (Modules -> Navbar Modules)
       Install stock osC "Shopping Cart" module if you wish to use it.
        This is done now with the override template file.
    2. Access your admin area and Uninstall the "Shopping Cart with Points" box module. (Modules -> Boxes)
       Install stock osC "Shopping Cart" box if you  wish to use it.
       This is done now with the override template file.


B. Revert the modifications in the core language files of the Info box and Footer Information links module.
    1. In: 
       includes/languages/english/modules/boxes/bm_information.php
       and
       includes/languages/english/modules/content/footer/cm_footer_information_links.php
       
       remove the line:
           'my_points_help.php' => 'Point Program FAQ',

        OR copy over the origininal core files.

C. Add new files.
   Copy the new files provided into the same location in your catalog and admin directory and replace existing old files.

D. Delete the following old files:
      catalog/includes/languages/english/modules/boxes/bm_shopping_cart_points.php
      catalog/includes/languages/english/modules/navbar_modules/nb_shopping_cart_points.php

E. Install the new points notifications module
   Access your admin area and install the "Update Points Account" module. (Modules -> Notifications)
   This will allow to send a e-mail notification when the Points Account is updated.


Follow the instructions in the Install Manual.


====DONE====


***************************************************************

####### STEP BY STEP UPDATE OLD VERSIONs to 3.1.0. ################

A. UNINSTALL THE POINTS AND REWARDS HEADER TAG MODULE

Access your admin area, uninstall the "Points and Rewards" header tags module. (Modules -> Header Tags)
- Make sure to leave the setting: "Uninstall Remove Database Table" set to "false"
- Take note of your settings

B. REVERT YOUR OLD POINTS AND REWARDS INSTALLATION

Remove all files and modifications from the previous version.

C. DO A COMPLETE NEW POINTS AND REWARDS INSTALLATION

Follow the instructions in the Install Manual.


====DONE====


***************************************************************
THAT'S IT!
***************************************************************